//
// $Id$

package com.chuhay.elemwar;

import javax.swing.JComponent;

import com.threerings.toybox.util.GameViewTest;
import com.threerings.toybox.util.ToyBoxContext;

/**
 * A test harness for our board view.
 */
public class ElemWarBoardViewTest extends GameViewTest
{
    public static void main (String[] args)
    {
        ElemWarBoardViewTest test = new ElemWarBoardViewTest();
        test.display();
    }

    protected JComponent createInterface (ToyBoxContext ctx)
    {
        return _view = new ElemWarBoardView(ctx, new ElemWarController());
    }

    protected void initInterface ()
    {
        // add sprites and other media to the board view here
    }

    protected ElemWarBoardView _view;
}
